package com.lxq.www.feigntemplate.impl;

import com.lxq.www.feigntemplate.MonitorRestInterface;
import org.springframework.stereotype.Component;

@Component
public class MonitorRestImpl implements MonitorRestInterface {
    @Override
    public String hello2() {
        return null;
    }

    @Override
    public String reqSleep() {
        return null;
    }

    @Override
    public String reqOut() {
        return null;
    }

    @Override
    public String reqOutForHystrix() {
        return null;
    }

    @Override
    public String reqOutForMyself() {
        System.out.println("ReqOutForMyself：很抱歉，系统出现无法处理的异常");
        return "<h1>ReqOutForMyself：很抱歉，系统出现无法处理的异常</h1>";
    }
}
